package top.csmcool.musicapi.model.api.qq;

import lombok.Data;

import java.util.List;

@Data
public class Song {
    private String albumdesc;
    private int albumid;
    private String albummid;
    private String albumname;
    private int alertid;
    private int belongCD;
    private int cdIdx;
    private int interval;
    private int isonly;
    private String label;
    private int msgid;
    private Pay pay;
    private Preview preview;
    private int rate;
    private List<Singer> singer;
    private int size128;
    private int size320;
    private int size5_1;
    private int sizeape;
    private int sizeflac;
    private int sizeogg;
    private int songid;
    private String songmid;
    private String songname;
    private String songorig;
    private int songtype;
    private String strMediaMid;
    private int stream;
    private int switchValue; // JSON 中的字段名是 "switch"，但 Java 中 "switch" 是保留字，因此使用 switchValue
    private int type;
    private String vid;

    // toString 方法用于调试
    @Override
    public String toString() {
        return "Song{" +
                "albumdesc='" + albumdesc + '\'' +
                ", albumid=" + albumid +
                ", albummid='" + albummid + '\'' +
                ", albumname='" + albumname + '\'' +
                ", alertid=" + alertid +
                ", belongCD=" + belongCD +
                ", cdIdx=" + cdIdx +
                ", interval=" + interval +
                ", isonly=" + isonly +
                ", label='" + label + '\'' +
                ", msgid=" + msgid +
                ", pay=" + pay +
                ", preview=" + preview +
                ", rate=" + rate +
                ", singer=" + singer +
                ", size128=" + size128 +
                ", size320=" + size320 +
                ", size5_1=" + size5_1 +
                ", sizeape=" + sizeape +
                ", sizeflac=" + sizeflac +
                ", sizeogg=" + sizeogg +
                ", songid=" + songid +
                ", songmid='" + songmid + '\'' +
                ", songname='" + songname + '\'' +
                ", songorig='" + songorig + '\'' +
                ", songtype=" + songtype +
                ", strMediaMid='" + strMediaMid + '\'' +
                ", stream=" + stream +
                ", switchValue=" + switchValue +
                ", type=" + type +
                ", vid='" + vid + '\'' +
                '}';
    }
}